package com.yequan.designpattern.monitor.code;

/**
 * 编程事件对象
 *
 * @author yequan
 * @date 2019/12/10
 */
public class Code extends ActionEvent {

    /**
     * 敲代码
     */
    private boolean beat = true;
    /**
     * 修改代码
     */
    private boolean update = true;
    /**
     * 处理时间
     */
    private long time;


    public boolean isBeat() {
        return beat;
    }

    public void setBeat(boolean beat) {
        this.beat = beat;
    }

    public boolean isUpdate() {
        return update;
    }

    public void setUpdate(boolean update) {
        this.update = update;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
